package com.study.design.model.behaviorPattern.command;

/**
* @Name: ConcreteCommand
* @Description: 具体命令类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-15 下午7:43:36 
* @Version: V1.0
 */
public class ConcreteCommand implements Command {
	
	//命令执行对象
	private Receive receive ;

	public ConcreteCommand(Receive receive) {
		this.receive = receive;
	}

	@Override
	public void execute() {
		receive.action() ;
	}

}
